package Animal;

import Interface.DebugMassage;

public abstract class Animal implements DebugMassage {
    protected String animalName;
    protected int animalNumber;
    protected AnimalArea zooArea;

    public String GetAnimalName() {
        return animalName;
    }

    public int GetAnimalNumber() {
        return animalNumber;
    }

    public void SetAnimalNumber(int _newNumber) {
        animalNumber = _newNumber;
    }

    protected void SetAnimalName(String _newName) {
        animalName = _newName;
    }

    protected void SetZooArea(AnimalArea _newArea) {
        zooArea = _newArea;
    }

    public String GetDebugMassage() {
        return "我是一只不被定义的动物，动物永不为奴！";
    }
}
